#include<iostream>
using namespace std;

void compare(int a, int b){ // 函数不返回任何值，所以类型为 void
	if(a>b)cout<<a << ">" << b <<endl;
	else if(a==b)cout<<a << "=" << b <<endl;
	else cout<< a << "<" <<b <<endl;
}

int main(){
	int a,b;
	cout<<" Please input two integers:"<<endl;
	cout<<"a=";
	cin>>a;
	cout<<"b=";
	cin>>b;
	compare(a,b);//调用 compare 函数
	return 0;
}
